package com.superhero.common.pojo.vo.website;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "PersonListVo")
public class PersonListVo {

    @ApiModelProperty(name = "personType", value = "人员性质", dataType = "Integer", notes = "1-常住 2-租户 3-访客")
    private Integer personType;
    @ApiModelProperty(name = "inOrOut", value = "出入类型（0-进入小区，1-离开小区）", dataType = "Integer", notes = "1-出 2-入")
    private Integer inOrOut;
    @ApiModelProperty(name = "accessTime", value = "出/入时间", dataType = "Date", notes = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date accessTime;

}
